package architecture;

//_MEM_WB_Control_Buffer
public class _MEM_WB_Control_Buffer{
	MyInt memToReg_WB;
	MyInt regWrite_WB;
	
	MyInt memToReg_MEM;
	MyInt regWrite_MEM;
	void clockEvent(){
		MyUtil.transfer(memToReg_MEM, memToReg_WB);
		MyUtil.transfer(regWrite_MEM, regWrite_WB);
	}
	void dump(){
		System.out.println("--------");
		System.out.println("_MEM_WB_Control_Buffer:");
		System.out.println("memToReg_WB:"+memToReg_WB);
		System.out.println("regWrite_WB:"+regWrite_WB);
		System.out.println("memToReg_MEM:"+memToReg_MEM);
		System.out.println("regWrite_MEM:"+regWrite_MEM);
		System.out.println("--------");
	}
}